package com.zwr.sheller.shop.service;

import com.zwr.sheller.core.common.WDMBusinessException;
import com.zwr.sheller.core.pojo.Order;
import com.zwr.sheller.core.pojo.OrderSku;
import com.zwr.sheller.core.pojo.OriginOrder;
import com.zwr.sheller.core.pojo.Sku;
import com.zwr.sheller.core.service.BaseService;

import java.util.List;

/**
 * @author wdm
 */
public interface OrderService extends BaseService<OriginOrder> {

    void updateSkuStock(Sku sku);
    void updateOrderField(OriginOrder order);
    List<OrderSku> selectOrderSkuByFeture(Long orderId);
}
